﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace JamesThew.Dashboard
{
    public class Category
    {
        public int CategoryID { get; set; }
        public String CategoryName { get; set; }
        public String CategoryDescription { get; set; }
        public int CategoryParent { get; set; }
        public int PostCount { get; set; }

        public Category(int CategoryID, String CategoryName, String CategoryDescription, int CategoryParent, int PostCount)
        {
            this.CategoryID = CategoryID;
            this.CategoryName = CategoryName;
            this.CategoryDescription = CategoryDescription;
            this.CategoryParent = CategoryParent;
            this.PostCount = PostCount;
        }

        public Category(String CategoryName, String CategoryDescription, int CategoryParent, int PostCount)
        {
            this.CategoryName = CategoryName;
            this.CategoryDescription = CategoryDescription;
            this.CategoryParent = CategoryParent;
            this.PostCount = PostCount;
        }

    }
}